<!DOCTYPE html>   {% load static %}
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="shortcut icon" href="/static/img/favicon.ico" type="image/x-icon">


    <title>风行运维自动化 | Login</title>

    {% include 'link_css.html' %}
    {% include 'script.html' %}

</head>

<body class="gray-bg">

<div class="middle-box text-center loginscreen  animated fadeInDown">
    <div>
        <div>

            <div class="col-md-12 column">
                <img src="/static/img/logo1.jpg" width="140" height="140" class="img-circle"/>
            </div>

        </div>
        <h3>欢迎使用风行运维自动化管理系统</h3>
        <p class="warning">
            {{ form.errors }}
        </p>
     
        <form class="m-t" role="form" method="post" action="">{% csrf_token %}
            <div class="form-group">
                <input type="text" class="form-control" placeholder="username" id="id_username" name='username'
                       required="">
            </div>
            <div class="form-group">
                <input type="password" class="form-control" id="id_password" name="password" placeholder="Password"
                       required="">
            </div>
            <button type="submit" class="btn btn-primary block full-width m-b">Login</button>
            <input type="hidden" name="next" value="{{ next }}"/>
            <a href="{% url 'user_reset_passsword' %}">
                <small>忘记密码?</small>
            </a>
        </form>
        <p class="m-t">
            <small>Inspinia we app framework base on Bootstrap 3 &copy; 2018</small>
        </p>
    </div>
</div>

</body>

</html>
